import request from '@/utils/request'

// 查询主题图片，最多三张列表
export function listTopic_img(query) {
  return request({
    url: '/ido/topic_img/list',
    method: 'get',
    params: query
  })
}

// 查询主题图片，最多三张详细
export function getTopic_img(id) {
  return request({
    url: '/ido/topic_img/' + id,
    method: 'get'
  })
}

// 新增主题图片，最多三张
export function addTopic_img(data) {
  return request({
    url: '/ido/topic_img',
    method: 'post',
    data: data
  })
}

// 修改主题图片，最多三张
export function updateTopic_img(data) {
  return request({
    url: '/ido/topic_img',
    method: 'put',
    data: data
  })
}

// 删除主题图片，最多三张
export function delTopic_img(id) {
  return request({
    url: '/ido/topic_img/' + id,
    method: 'delete'
  })
}

// 导出主题图片，最多三张
export function exportTopic_img(query) {
  return request({
    url: '/ido/topic_img/export',
    method: 'get',
    params: query
  })
}